package com.future.future.movie.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.future.future.commons.utils.PageUtils;
import com.future.future.commons.utils.Query;

import com.future.future.movie.dao.MovieAwardsDao;
import com.future.future.movie.entity.MovieAwardsEntity;
import com.future.future.movie.service.MovieAwardsService;


@Service("movieAwardsService")
public class MovieAwardsServiceImpl extends ServiceImpl<MovieAwardsDao, MovieAwardsEntity> implements MovieAwardsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MovieAwardsEntity> page = this.page(
                new Query<MovieAwardsEntity>().getPage(params),
                new QueryWrapper<MovieAwardsEntity>()
        );

        return new PageUtils(page);
    }

}